onReceiveContent

@Nullable
abstract fun onReceiveContent(@NonNull payload: @NonNull ContentInfoCompat): @Nullable ContentInfoCompat(source)

Implements a view's default behavior for receiving content.

Return

The portion of the passed-in content that was not handled (may be all, some, or none of the passed-in content).

Parameters

payload

The content to insert and related metadata.